Allow only first thread to update cache while other threads read